package com.zjhd.sealcutting.dao;


import com.zjhd.sealcutting.domain.WorksComment;
import com.zjhd.sealcutting.vo.WorksCommentVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface WorksCommentMapper {

    int deleteByPrimaryKey(Long id);

    int insert(WorksComment record);

    int updateByPrimaryKeySelective(WorksComment record);

    int updateByPrimaryKey(WorksComment record);

    List<WorksCommentVo> queryByWorkIdComment(String workId);

    Integer queryByWorkIdReviewsIdCount(String workId);
}